package com.hxz.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.hxz.entity.Article;

@Mapper
public interface AdminPublishMapper {
	
	@Select("SELECT category FROM article GROUP BY category")
	List<Article> getCategoryList();
}
